<?php

namespace App\Console\Commands;

use App\Http\Repositories\Services\IProduct;
use Illuminate\Console\Command;

class pl extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'pl:list';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }


    public function handle(IProduct $productService)
    {
        $productService->pl();
        echo "ok";
    }
}
